import request from '@/utils/request'

// 文件上传
export const uploadFile = (file) => {
    const formData = new FormData()
    formData.append('file', file)
    
    return request.post('/upload', formData)
}